Status Codes for Transparent Transmission of Algorithm Library

Generic Types

Values include 0x00000000 and 0x10000000.

int MV_ALG_OK = 0x00000000
 No error. More...
 
int MV_ALG_ERR = 0x10000000
 Unknown algorithm type error. More...
 

Capability Set Checking

Value: 0x10000001

int MV_ALG_E_ABILITY_ARG = 0x10000001
 Invalid parameter exists in capability set. More...
 

Memory Checking

Range: 0x10000002 to 0x10000006.

int MV_ALG_E_MEM_NULL = 0x10000002
 Memory address is empty. More...
 
int MV_ALG_E_MEM_ALIGN = 0x10000003
 Memory alignment does not meet the requirement. More...
 
int MV_ALG_E_MEM_LACK = 0x10000004
 Not enough memory space. More...
 
int MV_ALG_E_MEM_SIZE_ALIGN = 0x10000005
 Memory space does not meet the alignment requirement. More...
 
int MV_ALG_E_MEM_ADDR_ALIGN = 0x10000006
 Memory address does not meet the alignment requirement. More...
 

Image Checking

Range: 0x10000007 to 0x1000000A.

int MV_ALG_E_IMG_FORMAT = 0x10000007
 The image format is invalid or is not supported. More...
 
int MV_ALG_E_IMG_SIZE = 0x10000008
 Image size (width and height) is incorrect or out of range. More...
 
int MV_ALG_E_IMG_STEP = 0x10000009
 Image size (width and height) and step parameter mismatch. More...
 
int MV_ALG_E_IMG_DATA_NULL = 0x1000000A
 Storage address for image data is required. More...
 

Input and Output Parameters Checking

Range: 0x1000000B to 0x10000010.

int MV_ALG_E_CFG_TYPE = 0x1000000B
 Parameter type set or acquired is incorrect. More...
 
int MV_ALG_E_CFG_SIZE = 0x1000000C
 Size of input/output structure for parameter setting or acquiring is incorrect. More...
 
int MV_ALG_E_PRC_TYPE = 0x1000000D
 Incorrect processing type. More...
 
int MV_ALG_E_PRC_SIZE = 0x1000000E
 Incorrect size of input and output parameters for processing. More...
 
int MV_ALG_E_FUNC_TYPE = 0x1000000F
 Incorrect sub-processing type. More...
 
int MV_ALG_E_FUNC_SIZE = 0x10000010
 Incorrect size of input and output parameters for sub-processing. More...
 

Running Parameters Checking

Range: 0x10000011 to 0x10000013.

int MV_ALG_E_PARAM_INDEX = 0x10000011
 Incorrect index parameter. More...
 
int MV_ALG_E_PARAM_VALUE = 0x10000012
 The value parameter is incorrect or is out of range. More...
 
int MV_ALG_E_PARAM_NUM = 0x10000013
 Incorrect param_num parameter. More...
 

API Calling Checking

Range: 0x10000014 to 0x10000016.

int MV_ALG_E_NULL_PTR = 0x10000014
 The function parameter pointer is null. More...
 
int MV_ALG_E_OVER_MAX_MEM = 0x10000015
 Memory exceeds limit. More...
 
int MV_ALG_E_CALL_BACK = 0x10000016
 Callback function error. More...
 

Algorithm Library Encryption Checking

Range: 0x10000017 to 0x10000018.

int MV_ALG_E_ENCRYPT = 0x10000017
 Error occurred when performing encryption. More...
 
int MV_ALG_E_EXPIRE = 0x10000018
 Incorrect validity period of algorithm library. More...
 

Basic Error Codes Returned by Internal Modules

Range: 0x10000019 to 0x1000001B.

int MV_ALG_E_BAD_ARG = 0x10000019
 Incorrect parameter range. More...
 
int MV_ALG_E_DATA_SIZE = 0x1000001A
 Incorrect data size. More...
 
int MV_ALG_E_STEP = 0x1000001B
 Incorrect data step. More...
 

Error Codes of CPU Instruction Set

Range: 0x1000001C to 0x1000002C.

int MV_ALG_E_CPUID = 0x1000001C
 CPU does not support the instruction set of optimized code. More...
 
int MV_ALG_WARNING = 0x1000001D
 Warnings. More...
 
int MV_ALG_E_TIME_OUT = 0x1000001E
 Algorithm library timed out. More...
 
int MV_ALG_E_LIB_VERSION = 0x1000001F
 Incorrect algorithm version. More...
 
int MV_ALG_E_MODEL_VERSION = 0x10000020
 Incorrect model version. More...
 
int MV_ALG_E_GPU_MEM_ALLOC = 0x10000021
 Error occurred when allocating GPU memory. More...
 
int MV_ALG_E_FILE_NON_EXIST = 0x10000022
 File does not exist. More...
 
int MV_ALG_E_NONE_STRING = 0x10000023
 String is required. More...
 
int MV_ALG_E_IMAGE_CODEC = 0x10000024
 Image decoder error. More...
 
int MV_ALG_E_FILE_OPEN = 0x10000025
 Error occurred when opening the file. More...
 
int MV_ALG_E_FILE_READ = 0x10000026
 Error occurred when reading the file. More...
 
int MV_ALG_E_FILE_WRITE = 0x10000027
 Error occurred when writing to the file. More...
 
int MV_ALG_E_FILE_READ_SIZE = 0x10000028
 Incorrect file size. More...
 
int MV_ALG_E_FILE_TYPE = 0x10000029
 Incorrect file type. More...
 
int MV_ALG_E_MODEL_TYPE = 0x1000002A
 Incorrect model type. More...
 
int MV_ALG_E_MALLOC_MEM = 0x1000002B
 Error occurred when allocating memory. More...
 
int MV_ALG_E_BIND_CORE_FAILED = 0x1000002C
 Linking threads to a core failed. More...
 

Specific Error Codes of Noise Reduction

Range: 0x10402001 to 0x1040200f.

int MV_ALG_E_DENOISE_NE_IMG_FORMAT = 0x10402001
 Invalid noise-feature image format. More...
 
int MV_ALG_E_DENOISE_NE_FEATURE_TYPE = 0x10402002
 Incorrect noise-feature type. More...
 
int MV_ALG_E_DENOISE_NE_PROFILE_NUM = 0x10402003
 Incorrect number of noise features. More...
 
int MV_ALG_E_DENOISE_NE_GAIN_NUM = 0x10402004
 Incorrect number of noise-feature gains. More...
 
int MV_ALG_E_DENOISE_NE_GAIN_VAL = 0x10402005
 Incorrect input gain value of noise curve. More...
 
int MV_ALG_E_DENOISE_NE_BIN_NUM = 0x10402006
 Incorrect number of noise curve columns. More...
 
int MV_ALG_E_DENOISE_NE_INIT_GAIN = 0x10402007
 Error occurred when setting initial gain of noise estimation. More...
 
int MV_ALG_E_DENOISE_NE_NOT_INIT = 0x10402008
 Noise estimation initialization is required. More...
 
int MV_ALG_E_DENOISE_COLOR_MODE = 0x10402009
 Incorrect color space mode. More...
 
int MV_ALG_E_DENOISE_ROI_NUM = 0x1040200A
 Incorrect number of image ROIs. More...
 
int MV_ALG_E_DENOISE_ROI_ORI_PT = 0x1040200B
 Incorrect number of image ROI origins. More...
 
int MV_ALG_E_DENOISE_ROI_SIZE = 0x1040200C
 Incorrect image ROI size. More...
 
int MV_ALG_E_DENOISE_GAIN_NOT_EXIST = 0x1040200D
 Incorrect number of input camera gains. More...
 
int MV_ALG_E_DENOISE_GAIN_BEYOND_RANGE = 0x1040200E
 The number of input camera gains is out of range. More...
 
int MV_ALG_E_DENOISE_NP_BUF_SIZE = 0x1040200f
 Incorrect size of input noise-feature memory. More...
 

Specific Error Codes of Purple Fringing Correction

Range: 0x10405000 to 0x10405002.

int MV_ALG_E_PFC_ROI_PT = 0x10405000
 ROI point error of purple fringing correction algorithm. More...
 
int MV_ALG_E_PFC_ROI_SIZE = 0x10405001
 ROI size error of purple fringing correction algorithm. More...
 
int MV_ALG_E_PFC_KERNEL_SIZE = 0x10405002
 Filtering kernel size error of purple fringing correction algorithm. More...
 

Detailed Description

Variable Documentation

◆ MV_ALG_OK

int MV_ALG_OK = 0x00000000

No error.

◆ MV_ALG_ERR

int MV_ALG_ERR = 0x10000000

Unknown algorithm type error.

◆ MV_ALG_E_ABILITY_ARG

int MV_ALG_E_ABILITY_ARG = 0x10000001

Invalid parameter exists in capability set.

◆ MV_ALG_E_MEM_NULL

int MV_ALG_E_MEM_NULL = 0x10000002

Memory address is empty.

◆ MV_ALG_E_MEM_ALIGN

int MV_ALG_E_MEM_ALIGN = 0x10000003

Memory alignment does not meet the requirement.

◆ MV_ALG_E_MEM_LACK

int MV_ALG_E_MEM_LACK = 0x10000004

Not enough memory space.

◆ MV_ALG_E_MEM_SIZE_ALIGN

int MV_ALG_E_MEM_SIZE_ALIGN = 0x10000005

Memory space does not meet the alignment requirement.

◆ MV_ALG_E_MEM_ADDR_ALIGN

int MV_ALG_E_MEM_ADDR_ALIGN = 0x10000006

Memory address does not meet the alignment requirement.

◆ MV_ALG_E_IMG_FORMAT

int MV_ALG_E_IMG_FORMAT = 0x10000007

The image format is invalid or is not supported.

◆ MV_ALG_E_IMG_SIZE

int MV_ALG_E_IMG_SIZE = 0x10000008

Image size (width and height) is incorrect or out of range.

◆ MV_ALG_E_IMG_STEP

int MV_ALG_E_IMG_STEP = 0x10000009

Image size (width and height) and step parameter mismatch.

◆ MV_ALG_E_IMG_DATA_NULL

int MV_ALG_E_IMG_DATA_NULL = 0x1000000A

Storage address for image data is required.

◆ MV_ALG_E_CFG_TYPE

int MV_ALG_E_CFG_TYPE = 0x1000000B

Parameter type set or acquired is incorrect.

◆ MV_ALG_E_CFG_SIZE

int MV_ALG_E_CFG_SIZE = 0x1000000C

Size of input/output structure for parameter setting or acquiring is incorrect.

◆ MV_ALG_E_PRC_TYPE

int MV_ALG_E_PRC_TYPE = 0x1000000D

Incorrect processing type.

◆ MV_ALG_E_PRC_SIZE

int MV_ALG_E_PRC_SIZE = 0x1000000E

Incorrect size of input and output parameters for processing.

◆ MV_ALG_E_FUNC_TYPE

int MV_ALG_E_FUNC_TYPE = 0x1000000F

Incorrect sub-processing type.

◆ MV_ALG_E_FUNC_SIZE

int MV_ALG_E_FUNC_SIZE = 0x10000010

Incorrect size of input and output parameters for sub-processing.

◆ MV_ALG_E_PARAM_INDEX

int MV_ALG_E_PARAM_INDEX = 0x10000011

Incorrect index parameter.

◆ MV_ALG_E_PARAM_VALUE

int MV_ALG_E_PARAM_VALUE = 0x10000012

The value parameter is incorrect or is out of range.

◆ MV_ALG_E_PARAM_NUM

int MV_ALG_E_PARAM_NUM = 0x10000013

Incorrect param_num parameter.

◆ MV_ALG_E_NULL_PTR

int MV_ALG_E_NULL_PTR = 0x10000014

The function parameter pointer is null.

◆ MV_ALG_E_OVER_MAX_MEM

int MV_ALG_E_OVER_MAX_MEM = 0x10000015

Memory exceeds limit.

◆ MV_ALG_E_CALL_BACK

int MV_ALG_E_CALL_BACK = 0x10000016

Callback function error.

◆ MV_ALG_E_ENCRYPT

int MV_ALG_E_ENCRYPT = 0x10000017

Error occurred when performing encryption.

◆ MV_ALG_E_EXPIRE

int MV_ALG_E_EXPIRE = 0x10000018

Incorrect validity period of algorithm library.

◆ MV_ALG_E_BAD_ARG

int MV_ALG_E_BAD_ARG = 0x10000019

Incorrect parameter range.

◆ MV_ALG_E_DATA_SIZE

int MV_ALG_E_DATA_SIZE = 0x1000001A

Incorrect data size.

◆ MV_ALG_E_STEP

int MV_ALG_E_STEP = 0x1000001B

Incorrect data step.

◆ MV_ALG_E_CPUID

int MV_ALG_E_CPUID = 0x1000001C

CPU does not support the instruction set of optimized code.

◆ MV_ALG_WARNING

int MV_ALG_WARNING = 0x1000001D

Warnings.

◆ MV_ALG_E_TIME_OUT

int MV_ALG_E_TIME_OUT = 0x1000001E

Algorithm library timed out.

◆ MV_ALG_E_LIB_VERSION

int MV_ALG_E_LIB_VERSION = 0x1000001F

Incorrect algorithm version.

◆ MV_ALG_E_MODEL_VERSION

int MV_ALG_E_MODEL_VERSION = 0x10000020

Incorrect model version.

◆ MV_ALG_E_GPU_MEM_ALLOC

int MV_ALG_E_GPU_MEM_ALLOC = 0x10000021

Error occurred when allocating GPU memory.

◆ MV_ALG_E_FILE_NON_EXIST

int MV_ALG_E_FILE_NON_EXIST = 0x10000022

File does not exist.

◆ MV_ALG_E_NONE_STRING

int MV_ALG_E_NONE_STRING = 0x10000023

String is required.

◆ MV_ALG_E_IMAGE_CODEC

int MV_ALG_E_IMAGE_CODEC = 0x10000024

Image decoder error.

◆ MV_ALG_E_FILE_OPEN

int MV_ALG_E_FILE_OPEN = 0x10000025

Error occurred when opening the file.

◆ MV_ALG_E_FILE_READ

int MV_ALG_E_FILE_READ = 0x10000026

Error occurred when reading the file.

◆ MV_ALG_E_FILE_WRITE

int MV_ALG_E_FILE_WRITE = 0x10000027

Error occurred when writing to the file.

◆ MV_ALG_E_FILE_READ_SIZE

int MV_ALG_E_FILE_READ_SIZE = 0x10000028

Incorrect file size.

◆ MV_ALG_E_FILE_TYPE

int MV_ALG_E_FILE_TYPE = 0x10000029

Incorrect file type.

◆ MV_ALG_E_MODEL_TYPE

int MV_ALG_E_MODEL_TYPE = 0x1000002A

Incorrect model type.

◆ MV_ALG_E_MALLOC_MEM

int MV_ALG_E_MALLOC_MEM = 0x1000002B

Error occurred when allocating memory.

◆ MV_ALG_E_BIND_CORE_FAILED

int MV_ALG_E_BIND_CORE_FAILED = 0x1000002C

Linking threads to a core failed.

◆ MV_ALG_E_DENOISE_NE_IMG_FORMAT

int MV_ALG_E_DENOISE_NE_IMG_FORMAT = 0x10402001

Invalid noise-feature image format.

◆ MV_ALG_E_DENOISE_NE_FEATURE_TYPE

int MV_ALG_E_DENOISE_NE_FEATURE_TYPE = 0x10402002

Incorrect noise-feature type.

◆ MV_ALG_E_DENOISE_NE_PROFILE_NUM

int MV_ALG_E_DENOISE_NE_PROFILE_NUM = 0x10402003

Incorrect number of noise features.

◆ MV_ALG_E_DENOISE_NE_GAIN_NUM

int MV_ALG_E_DENOISE_NE_GAIN_NUM = 0x10402004

Incorrect number of noise-feature gains.

◆ MV_ALG_E_DENOISE_NE_GAIN_VAL

int MV_ALG_E_DENOISE_NE_GAIN_VAL = 0x10402005

Incorrect input gain value of noise curve.

◆ MV_ALG_E_DENOISE_NE_BIN_NUM

int MV_ALG_E_DENOISE_NE_BIN_NUM = 0x10402006

Incorrect number of noise curve columns.

◆ MV_ALG_E_DENOISE_NE_INIT_GAIN

int MV_ALG_E_DENOISE_NE_INIT_GAIN = 0x10402007

Error occurred when setting initial gain of noise estimation.

◆ MV_ALG_E_DENOISE_NE_NOT_INIT

int MV_ALG_E_DENOISE_NE_NOT_INIT = 0x10402008

Noise estimation initialization is required.

◆ MV_ALG_E_DENOISE_COLOR_MODE

int MV_ALG_E_DENOISE_COLOR_MODE = 0x10402009

Incorrect color space mode.

◆ MV_ALG_E_DENOISE_ROI_NUM

int MV_ALG_E_DENOISE_ROI_NUM = 0x1040200A

Incorrect number of image ROIs.

◆ MV_ALG_E_DENOISE_ROI_ORI_PT

int MV_ALG_E_DENOISE_ROI_ORI_PT = 0x1040200B

Incorrect number of image ROI origins.

◆ MV_ALG_E_DENOISE_ROI_SIZE

int MV_ALG_E_DENOISE_ROI_SIZE = 0x1040200C

Incorrect image ROI size.

◆ MV_ALG_E_DENOISE_GAIN_NOT_EXIST

int MV_ALG_E_DENOISE_GAIN_NOT_EXIST = 0x1040200D

Incorrect number of input camera gains.

It exceeds the upper limit.

◆ MV_ALG_E_DENOISE_GAIN_BEYOND_RANGE

int MV_ALG_E_DENOISE_GAIN_BEYOND_RANGE = 0x1040200E

The number of input camera gains is out of range.

◆ MV_ALG_E_DENOISE_NP_BUF_SIZE

int MV_ALG_E_DENOISE_NP_BUF_SIZE = 0x1040200f

Incorrect size of input noise-feature memory.

◆ MV_ALG_E_PFC_ROI_PT

int MV_ALG_E_PFC_ROI_PT = 0x10405000

ROI point error of purple fringing correction algorithm.

◆ MV_ALG_E_PFC_ROI_SIZE

int MV_ALG_E_PFC_ROI_SIZE = 0x10405001

ROI size error of purple fringing correction algorithm.

◆ MV_ALG_E_PFC_KERNEL_SIZE

int MV_ALG_E_PFC_KERNEL_SIZE = 0x10405002

Filtering kernel size error of purple fringing correction algorithm.